<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<script type="text/javascript">
      var arr=[100,10,75,44,32,30,7,54,76,32,65];
           function paixu(arr){
           	for(i=0;i<arr.length;i++){
           		for(j=i+1;j<arr.length;j++){
           			if(arr[i]>arr[j]){
           				var c=arr[i];
           				arr[i]=arr[j];
           				arr[j]=c;
           			}
           		}
           	}
           	document.write(arr);
           }
           paixu(arr);
	</script>
</head>
<body>
	
</body>
</html>